.movies {
  margin: 0 70px;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 78px;
}

.movies__not-found {
  text-align: center;
  font-size: 18px;
}

.movies__list {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: grid;
  grid-template: repeat(4, 1fr) / repeat(auto-fill, 360px);
  justify-content: center;
  column-gap: 30px;
  row-gap: 55px;
}

.movies__add-button {
  width: 320px;
  height: 36px;
  margin: 0 auto;
  background-color: transparent;
  border-radius: 6px;
  border: 1px solid #424242;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.movies__add-button:hover {
  opacity: 0.8;
  cursor: pointer;
}

@media screen and (max-width: 950px) {
  .movies {
    margin-left: 30px;
    margin-right: 30px;
  }
  .movies__list {
    grid-template-columns: repeat(auto-fill, 339px);
    row-gap: 45px;
  }
}

@media screen and (max-width: 767px) {
  .movies {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 50px;
    padding-top: 52px;
    gap: 62px;
  }
  .movies__list {
    grid-template-columns: repeat(auto-fill, 300px);
    row-gap: 39px;
  }

  .movies__add-button {
    width: 240px;
  }
}